package com.apollographql.apollo.api;

import com.apollographql.apollo.api.ExecutionContext;
import com.kt.Metadata;
import com.kt.jvm.functions.Function2;
import com.kt.jvm.internal.Intrinsics;
import com.kt.jvm.internal.Lambda;

import java.util.function.Function;

/* access modifiers changed from: package-private */
@Metadata(bv = {1, 0, 3}, d1 = {"\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u0003\u001a\u00020\u0004H\n¢\u0006\u0002\b\u0005"}, d2 = {"<anonymous>", "Lcom/apollographql/apollo/api/ExecutionContext;", "acc", "element", "Lcom/apollographql/apollo/api/ExecutionContext$Element;", "invoke"}, k = 3, mv = {1, 4, 0})
/* compiled from: ExecutionContext.kt */
public final class ExecutionContext$plus$1 extends Lambda implements Function2 {
    public static final ExecutionContext$plus$1 INSTANCE = new ExecutionContext$plus$1();

    ExecutionContext$plus$1() {
        super(2);
    }

    public final ExecutionContext invoke(ExecutionContext acc, ExecutionContext.Element element) {
        Intrinsics.checkParameterIsNotNull(acc, "acc");
        Intrinsics.checkParameterIsNotNull(element, "element");
        ExecutionContext removed = acc.minusKey(element.getKey());
        if (removed == EmptyExecutionContext.INSTANCE) {
            return element;
        }
        return new CombinedExecutionContext(removed, element);
    }

    @Override
    public Function invoke(Integer integer, Function t) {
        return null;
    }

    @Override
    public Object invoke(Object o, Object o2) {
        return null;
    }
}
